package classFourth;

public class Course {
	private String coursename;
	private int coursehour;
	public Course(String coursename, int coursehour) {
		
		this.coursename = coursename;
		this.coursehour = coursehour;
	}
	
	public int hour() {
		return coursehour;
	}
	public String name() {
		return coursename;
	}
	
}
